<div id="tabs-{$key+1}">
    <ul id="inactive">
    {foreach from=$rows.inactive item=item key=key}
        {include file='form/inactivePart.tpl'}
    {/foreach}
    </ul>
</div>